package com.asktgapp.user.activity;

import android.content.Intent;
import android.os.Bundle;

import com.asktgapp.R;
import com.umeng.message.UmengNotifyClickActivity;

public class MipushTestActivity extends UmengNotifyClickActivity {


    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.activity_splash);
    }

    @Override
    public void onMessage(Intent intentMessage) {
        super.onMessage(intentMessage);  //此方法必须调用，否则无法统计打开数
        Bundle extras = intentMessage.getExtras();

        Intent intent = new Intent(this, MainActivity.class);
        intent.putExtras(extras);
        startActivity(intent);
        finish();
    }
}